﻿using System;

namespace H.Driver.Server
{
    public class RemoteController : MarshalByRefObject
    {
        /// <summary>
        /// 关闭服务器时间
        /// </summary>
        public static event EventHandler ShutDown;

        /// <summary>
        /// 关闭服务器
        /// </summary>
        public void ShutDownServer()
        {
            ShutDown?.Invoke(null, EventArgs.Empty);
        }
    }
}
